package com.spboot.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author guocb
 * @since 2020-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Like implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "Likeid", type = IdType.AUTO)
    private Integer Likeid;

    private Integer Informationid;

    private Integer Userid;

    private Integer tableid;

    // 标识逻辑字段 不是表中列
    @TableField(exist = false)
    public String Name;// 名字
    @TableField(exist = false)
    public String Colorname;// 名字
    @TableField(exist = false)
    public String Colorimg;//颜色图片
    @TableField(exist = false)
    public String Price;//价格
    @TableField(exist = false)
    public String Versiontype;//版本


    public static final String LIKEID = "Likeid";

    public static final String INFORMATIONID = "Informationid";

    public static final String USERID = "Userid";

    public static final String TABLEID = "Tableid";

}
